package com.zc.commons.auth.pojo;

import lombok.Data;
import org.springframework.security.access.ConfigAttribute;

/**
 * 简单ConfigAttribute
 */
@Data
public class SimpleConfigAttribute implements ConfigAttribute {

    private String roleCode;

    public SimpleConfigAttribute(String roleCode) {
        this.roleCode = roleCode;
    }

    public SimpleConfigAttribute() {
    }

    @Override
    public String getAttribute() {
        return this.roleCode;
    }
}
